treelistmodel: Fix memory leak
authorMohammed Sadiq <sadiq@sadiqpk.org>
Tue, 18 Sep 2018 01:58:56 +0000 (07:28 +0530)
committerMohammed Sadiq <sadiq@sadiqpk.org>
Tue, 18 Sep 2018 02:20:44 +0000 (07:50 +0530)
commitf211d71f747489c6b63ab804ea2c12ad4d625999
tree6ab36a83f73a872273af4db4f53bbe3957da4e7e
parent691ab421fbf5f6c84192a2581c10a80e23264203
treelistmodel: Fix memory leak

gtk_tree_list_model_init_node() increases the reference count
of the model passed. Let's not do that, and let it take the
model passed.
gtk/gtktreelistmodel.c